<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Aritimética</title>
</head>
<body>
<h:form>
<h:panelGrid columns="2">
	Numero 01 <h:inputText id="n1" value="#{aritimeticaBean.n1}" />
	Numero 02 <h:inputText id="n2" value="#{aritimeticaBean.n2}" />
	<h:commandButton value="Enviar" action="#{aritimeticaBean.aritimetica}"/>
</h:panelGrid>
	<p>Soma: #{aritimeticaBean.soma}</p>
	<p>Subtração: #{aritimeticaBean.subtracao}</p>
</h:form>
</body>
</html>